package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 12 03 11 25
 **/

@TableName("admin")
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Admin {

    @TableId(type = IdType.AUTO)

    private Integer id;
    @TableField
    private String username;

    @TableField
    private String password;

    @TableField
    private String face;

    @TableField("real_name")
    private String realName;

    @TableField
    private String remark;

    @TableField("created_time")

    private Date createTime;

    @TableField("updated_time")
    private Date updateTime;
}